﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BRMC.IntelligentCommunity.Broadband
{
    /// <summary>
    /// 客户购买产品（配件，服务）明细
    /// </summary>
    public class Bb_user_buy_product : Entity<int>
    {
        public int Service_id { get; set; }
        public int Bbid { get; set; }
        public int Product_id { get; set; }
        public long Userid { get; set; }
        public string Openid { get; set; }
        public decimal Unit_price { get; set; }
        public decimal Discount_price { get; set; }
        public decimal Price { get; set; }
        public int Type { get; set; }
        public int Payid { get; set; }
        public string Out_trade_no { get; set; }
        public DateTime? Buy_date { get; set; }
        public DateTime? Finish_date { get; set; }
        public int Status { get; set; } = 1;
        public string Appointment_date { get; set; }
        public string Appointment_time_start { get; set; }
        public string Appointment_time_end { get; set; }
        public int Date_change { get; set; } = 0;
        public int Date_change_u { get; set; } = 0;
        public int Isdel { get; set; } = 0;
        public string Detailadd { get; set; }
        public int Isagent { get; set; } = 0;
        public int By_agent_userid { get; set; } = 0;
        public int? TenantId { get; set; }
    }
}
